how to find the common difference of arithmetic progression